package com.job.feign.admin.audit;

import com.job.client.common.result.ResponseResult;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "admin-audit-service",path = "/api/v1/admin/audit")
public interface AuditFeign {
    @GetMapping("/avatar/{avatarId}")
    public ResponseResult getAvatarResultById(@PathVariable String avatarId);

    @GetMapping("/company/{auditCompanyId}")
    public ResponseResult getCompanyResultById(@PathVariable String auditCompanyId);

    @GetMapping("/posts/{auditPostsId}")
    public ResponseResult getPostsResultById(@PathVariable String auditPostsId);
    @GetMapping("/getAuditInfo")
    public ResponseResult getAuditInfo(@RequestParam String userId);
}
